package com.weimall.pojo;

import java.util.ArrayList;
import java.util.List;

public class GgKeyHotExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public GgKeyHotExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andXhIsNull() {
            addCriterion("XH is null");
            return (Criteria) this;
        }

        public Criteria andXhIsNotNull() {
            addCriterion("XH is not null");
            return (Criteria) this;
        }

        public Criteria andXhEqualTo(Integer value) {
            addCriterion("XH =", value, "xh");
            return (Criteria) this;
        }

        public Criteria andXhNotEqualTo(Integer value) {
            addCriterion("XH <>", value, "xh");
            return (Criteria) this;
        }

        public Criteria andXhGreaterThan(Integer value) {
            addCriterion("XH >", value, "xh");
            return (Criteria) this;
        }

        public Criteria andXhGreaterThanOrEqualTo(Integer value) {
            addCriterion("XH >=", value, "xh");
            return (Criteria) this;
        }

        public Criteria andXhLessThan(Integer value) {
            addCriterion("XH <", value, "xh");
            return (Criteria) this;
        }

        public Criteria andXhLessThanOrEqualTo(Integer value) {
            addCriterion("XH <=", value, "xh");
            return (Criteria) this;
        }

        public Criteria andXhIn(List<Integer> values) {
            addCriterion("XH in", values, "xh");
            return (Criteria) this;
        }

        public Criteria andXhNotIn(List<Integer> values) {
            addCriterion("XH not in", values, "xh");
            return (Criteria) this;
        }

        public Criteria andXhBetween(Integer value1, Integer value2) {
            addCriterion("XH between", value1, value2, "xh");
            return (Criteria) this;
        }

        public Criteria andXhNotBetween(Integer value1, Integer value2) {
            addCriterion("XH not between", value1, value2, "xh");
            return (Criteria) this;
        }

        public Criteria andItemIsNull() {
            addCriterion("ITEM is null");
            return (Criteria) this;
        }

        public Criteria andItemIsNotNull() {
            addCriterion("ITEM is not null");
            return (Criteria) this;
        }

        public Criteria andItemEqualTo(String value) {
            addCriterion("ITEM =", value, "item");
            return (Criteria) this;
        }

        public Criteria andItemNotEqualTo(String value) {
            addCriterion("ITEM <>", value, "item");
            return (Criteria) this;
        }

        public Criteria andItemGreaterThan(String value) {
            addCriterion("ITEM >", value, "item");
            return (Criteria) this;
        }

        public Criteria andItemGreaterThanOrEqualTo(String value) {
            addCriterion("ITEM >=", value, "item");
            return (Criteria) this;
        }

        public Criteria andItemLessThan(String value) {
            addCriterion("ITEM <", value, "item");
            return (Criteria) this;
        }

        public Criteria andItemLessThanOrEqualTo(String value) {
            addCriterion("ITEM <=", value, "item");
            return (Criteria) this;
        }

        public Criteria andItemLike(String value) {
            addCriterion("ITEM like", value, "item");
            return (Criteria) this;
        }

        public Criteria andItemNotLike(String value) {
            addCriterion("ITEM not like", value, "item");
            return (Criteria) this;
        }

        public Criteria andItemIn(List<String> values) {
            addCriterion("ITEM in", values, "item");
            return (Criteria) this;
        }

        public Criteria andItemNotIn(List<String> values) {
            addCriterion("ITEM not in", values, "item");
            return (Criteria) this;
        }

        public Criteria andItemBetween(String value1, String value2) {
            addCriterion("ITEM between", value1, value2, "item");
            return (Criteria) this;
        }

        public Criteria andItemNotBetween(String value1, String value2) {
            addCriterion("ITEM not between", value1, value2, "item");
            return (Criteria) this;
        }

        public Criteria andCtrlIsNull() {
            addCriterion("CTRL is null");
            return (Criteria) this;
        }

        public Criteria andCtrlIsNotNull() {
            addCriterion("CTRL is not null");
            return (Criteria) this;
        }

        public Criteria andCtrlEqualTo(String value) {
            addCriterion("CTRL =", value, "ctrl");
            return (Criteria) this;
        }

        public Criteria andCtrlNotEqualTo(String value) {
            addCriterion("CTRL <>", value, "ctrl");
            return (Criteria) this;
        }

        public Criteria andCtrlGreaterThan(String value) {
            addCriterion("CTRL >", value, "ctrl");
            return (Criteria) this;
        }

        public Criteria andCtrlGreaterThanOrEqualTo(String value) {
            addCriterion("CTRL >=", value, "ctrl");
            return (Criteria) this;
        }

        public Criteria andCtrlLessThan(String value) {
            addCriterion("CTRL <", value, "ctrl");
            return (Criteria) this;
        }

        public Criteria andCtrlLessThanOrEqualTo(String value) {
            addCriterion("CTRL <=", value, "ctrl");
            return (Criteria) this;
        }

        public Criteria andCtrlLike(String value) {
            addCriterion("CTRL like", value, "ctrl");
            return (Criteria) this;
        }

        public Criteria andCtrlNotLike(String value) {
            addCriterion("CTRL not like", value, "ctrl");
            return (Criteria) this;
        }

        public Criteria andCtrlIn(List<String> values) {
            addCriterion("CTRL in", values, "ctrl");
            return (Criteria) this;
        }

        public Criteria andCtrlNotIn(List<String> values) {
            addCriterion("CTRL not in", values, "ctrl");
            return (Criteria) this;
        }

        public Criteria andCtrlBetween(String value1, String value2) {
            addCriterion("CTRL between", value1, value2, "ctrl");
            return (Criteria) this;
        }

        public Criteria andCtrlNotBetween(String value1, String value2) {
            addCriterion("CTRL not between", value1, value2, "ctrl");
            return (Criteria) this;
        }

        public Criteria andAltIsNull() {
            addCriterion("ALT is null");
            return (Criteria) this;
        }

        public Criteria andAltIsNotNull() {
            addCriterion("ALT is not null");
            return (Criteria) this;
        }

        public Criteria andAltEqualTo(String value) {
            addCriterion("ALT =", value, "alt");
            return (Criteria) this;
        }

        public Criteria andAltNotEqualTo(String value) {
            addCriterion("ALT <>", value, "alt");
            return (Criteria) this;
        }

        public Criteria andAltGreaterThan(String value) {
            addCriterion("ALT >", value, "alt");
            return (Criteria) this;
        }

        public Criteria andAltGreaterThanOrEqualTo(String value) {
            addCriterion("ALT >=", value, "alt");
            return (Criteria) this;
        }

        public Criteria andAltLessThan(String value) {
            addCriterion("ALT <", value, "alt");
            return (Criteria) this;
        }

        public Criteria andAltLessThanOrEqualTo(String value) {
            addCriterion("ALT <=", value, "alt");
            return (Criteria) this;
        }

        public Criteria andAltLike(String value) {
            addCriterion("ALT like", value, "alt");
            return (Criteria) this;
        }

        public Criteria andAltNotLike(String value) {
            addCriterion("ALT not like", value, "alt");
            return (Criteria) this;
        }

        public Criteria andAltIn(List<String> values) {
            addCriterion("ALT in", values, "alt");
            return (Criteria) this;
        }

        public Criteria andAltNotIn(List<String> values) {
            addCriterion("ALT not in", values, "alt");
            return (Criteria) this;
        }

        public Criteria andAltBetween(String value1, String value2) {
            addCriterion("ALT between", value1, value2, "alt");
            return (Criteria) this;
        }

        public Criteria andAltNotBetween(String value1, String value2) {
            addCriterion("ALT not between", value1, value2, "alt");
            return (Criteria) this;
        }

        public Criteria andShiftIsNull() {
            addCriterion("SHIFT is null");
            return (Criteria) this;
        }

        public Criteria andShiftIsNotNull() {
            addCriterion("SHIFT is not null");
            return (Criteria) this;
        }

        public Criteria andShiftEqualTo(String value) {
            addCriterion("SHIFT =", value, "shift");
            return (Criteria) this;
        }

        public Criteria andShiftNotEqualTo(String value) {
            addCriterion("SHIFT <>", value, "shift");
            return (Criteria) this;
        }

        public Criteria andShiftGreaterThan(String value) {
            addCriterion("SHIFT >", value, "shift");
            return (Criteria) this;
        }

        public Criteria andShiftGreaterThanOrEqualTo(String value) {
            addCriterion("SHIFT >=", value, "shift");
            return (Criteria) this;
        }

        public Criteria andShiftLessThan(String value) {
            addCriterion("SHIFT <", value, "shift");
            return (Criteria) this;
        }

        public Criteria andShiftLessThanOrEqualTo(String value) {
            addCriterion("SHIFT <=", value, "shift");
            return (Criteria) this;
        }

        public Criteria andShiftLike(String value) {
            addCriterion("SHIFT like", value, "shift");
            return (Criteria) this;
        }

        public Criteria andShiftNotLike(String value) {
            addCriterion("SHIFT not like", value, "shift");
            return (Criteria) this;
        }

        public Criteria andShiftIn(List<String> values) {
            addCriterion("SHIFT in", values, "shift");
            return (Criteria) this;
        }

        public Criteria andShiftNotIn(List<String> values) {
            addCriterion("SHIFT not in", values, "shift");
            return (Criteria) this;
        }

        public Criteria andShiftBetween(String value1, String value2) {
            addCriterion("SHIFT between", value1, value2, "shift");
            return (Criteria) this;
        }

        public Criteria andShiftNotBetween(String value1, String value2) {
            addCriterion("SHIFT not between", value1, value2, "shift");
            return (Criteria) this;
        }

        public Criteria andModValueIsNull() {
            addCriterion("MOD_VALUE is null");
            return (Criteria) this;
        }

        public Criteria andModValueIsNotNull() {
            addCriterion("MOD_VALUE is not null");
            return (Criteria) this;
        }

        public Criteria andModValueEqualTo(Integer value) {
            addCriterion("MOD_VALUE =", value, "modValue");
            return (Criteria) this;
        }

        public Criteria andModValueNotEqualTo(Integer value) {
            addCriterion("MOD_VALUE <>", value, "modValue");
            return (Criteria) this;
        }

        public Criteria andModValueGreaterThan(Integer value) {
            addCriterion("MOD_VALUE >", value, "modValue");
            return (Criteria) this;
        }

        public Criteria andModValueGreaterThanOrEqualTo(Integer value) {
            addCriterion("MOD_VALUE >=", value, "modValue");
            return (Criteria) this;
        }

        public Criteria andModValueLessThan(Integer value) {
            addCriterion("MOD_VALUE <", value, "modValue");
            return (Criteria) this;
        }

        public Criteria andModValueLessThanOrEqualTo(Integer value) {
            addCriterion("MOD_VALUE <=", value, "modValue");
            return (Criteria) this;
        }

        public Criteria andModValueIn(List<Integer> values) {
            addCriterion("MOD_VALUE in", values, "modValue");
            return (Criteria) this;
        }

        public Criteria andModValueNotIn(List<Integer> values) {
            addCriterion("MOD_VALUE not in", values, "modValue");
            return (Criteria) this;
        }

        public Criteria andModValueBetween(Integer value1, Integer value2) {
            addCriterion("MOD_VALUE between", value1, value2, "modValue");
            return (Criteria) this;
        }

        public Criteria andModValueNotBetween(Integer value1, Integer value2) {
            addCriterion("MOD_VALUE not between", value1, value2, "modValue");
            return (Criteria) this;
        }

        public Criteria andKeyValueIsNull() {
            addCriterion("KEY_VALUE is null");
            return (Criteria) this;
        }

        public Criteria andKeyValueIsNotNull() {
            addCriterion("KEY_VALUE is not null");
            return (Criteria) this;
        }

        public Criteria andKeyValueEqualTo(Integer value) {
            addCriterion("KEY_VALUE =", value, "keyValue");
            return (Criteria) this;
        }

        public Criteria andKeyValueNotEqualTo(Integer value) {
            addCriterion("KEY_VALUE <>", value, "keyValue");
            return (Criteria) this;
        }

        public Criteria andKeyValueGreaterThan(Integer value) {
            addCriterion("KEY_VALUE >", value, "keyValue");
            return (Criteria) this;
        }

        public Criteria andKeyValueGreaterThanOrEqualTo(Integer value) {
            addCriterion("KEY_VALUE >=", value, "keyValue");
            return (Criteria) this;
        }

        public Criteria andKeyValueLessThan(Integer value) {
            addCriterion("KEY_VALUE <", value, "keyValue");
            return (Criteria) this;
        }

        public Criteria andKeyValueLessThanOrEqualTo(Integer value) {
            addCriterion("KEY_VALUE <=", value, "keyValue");
            return (Criteria) this;
        }

        public Criteria andKeyValueIn(List<Integer> values) {
            addCriterion("KEY_VALUE in", values, "keyValue");
            return (Criteria) this;
        }

        public Criteria andKeyValueNotIn(List<Integer> values) {
            addCriterion("KEY_VALUE not in", values, "keyValue");
            return (Criteria) this;
        }

        public Criteria andKeyValueBetween(Integer value1, Integer value2) {
            addCriterion("KEY_VALUE between", value1, value2, "keyValue");
            return (Criteria) this;
        }

        public Criteria andKeyValueNotBetween(Integer value1, Integer value2) {
            addCriterion("KEY_VALUE not between", value1, value2, "keyValue");
            return (Criteria) this;
        }

        public Criteria andKeyListIsNull() {
            addCriterion("KEY_LIST is null");
            return (Criteria) this;
        }

        public Criteria andKeyListIsNotNull() {
            addCriterion("KEY_LIST is not null");
            return (Criteria) this;
        }

        public Criteria andKeyListEqualTo(String value) {
            addCriterion("KEY_LIST =", value, "keyList");
            return (Criteria) this;
        }

        public Criteria andKeyListNotEqualTo(String value) {
            addCriterion("KEY_LIST <>", value, "keyList");
            return (Criteria) this;
        }

        public Criteria andKeyListGreaterThan(String value) {
            addCriterion("KEY_LIST >", value, "keyList");
            return (Criteria) this;
        }

        public Criteria andKeyListGreaterThanOrEqualTo(String value) {
            addCriterion("KEY_LIST >=", value, "keyList");
            return (Criteria) this;
        }

        public Criteria andKeyListLessThan(String value) {
            addCriterion("KEY_LIST <", value, "keyList");
            return (Criteria) this;
        }

        public Criteria andKeyListLessThanOrEqualTo(String value) {
            addCriterion("KEY_LIST <=", value, "keyList");
            return (Criteria) this;
        }

        public Criteria andKeyListLike(String value) {
            addCriterion("KEY_LIST like", value, "keyList");
            return (Criteria) this;
        }

        public Criteria andKeyListNotLike(String value) {
            addCriterion("KEY_LIST not like", value, "keyList");
            return (Criteria) this;
        }

        public Criteria andKeyListIn(List<String> values) {
            addCriterion("KEY_LIST in", values, "keyList");
            return (Criteria) this;
        }

        public Criteria andKeyListNotIn(List<String> values) {
            addCriterion("KEY_LIST not in", values, "keyList");
            return (Criteria) this;
        }

        public Criteria andKeyListBetween(String value1, String value2) {
            addCriterion("KEY_LIST between", value1, value2, "keyList");
            return (Criteria) this;
        }

        public Criteria andKeyListNotBetween(String value1, String value2) {
            addCriterion("KEY_LIST not between", value1, value2, "keyList");
            return (Criteria) this;
        }

        public Criteria andRangeIsNull() {
            addCriterion("RANGE is null");
            return (Criteria) this;
        }

        public Criteria andRangeIsNotNull() {
            addCriterion("RANGE is not null");
            return (Criteria) this;
        }

        public Criteria andRangeEqualTo(String value) {
            addCriterion("RANGE =", value, "range");
            return (Criteria) this;
        }

        public Criteria andRangeNotEqualTo(String value) {
            addCriterion("RANGE <>", value, "range");
            return (Criteria) this;
        }

        public Criteria andRangeGreaterThan(String value) {
            addCriterion("RANGE >", value, "range");
            return (Criteria) this;
        }

        public Criteria andRangeGreaterThanOrEqualTo(String value) {
            addCriterion("RANGE >=", value, "range");
            return (Criteria) this;
        }

        public Criteria andRangeLessThan(String value) {
            addCriterion("RANGE <", value, "range");
            return (Criteria) this;
        }

        public Criteria andRangeLessThanOrEqualTo(String value) {
            addCriterion("RANGE <=", value, "range");
            return (Criteria) this;
        }

        public Criteria andRangeLike(String value) {
            addCriterion("RANGE like", value, "range");
            return (Criteria) this;
        }

        public Criteria andRangeNotLike(String value) {
            addCriterion("RANGE not like", value, "range");
            return (Criteria) this;
        }

        public Criteria andRangeIn(List<String> values) {
            addCriterion("RANGE in", values, "range");
            return (Criteria) this;
        }

        public Criteria andRangeNotIn(List<String> values) {
            addCriterion("RANGE not in", values, "range");
            return (Criteria) this;
        }

        public Criteria andRangeBetween(String value1, String value2) {
            addCriterion("RANGE between", value1, value2, "range");
            return (Criteria) this;
        }

        public Criteria andRangeNotBetween(String value1, String value2) {
            addCriterion("RANGE not between", value1, value2, "range");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}